<?php
/**
 * ============================================================================
 * 版权所有 2017-2077 tpframe工作室，并保留所有权利。
 * @link http://www.tpframe.com/
 * @copyright Copyright (c) 2017 TPFrame Software LLC
 * ----------------------------------------------------------------------------
 * 这不是一个自由软件！未经本公司授权您只能在不用于商业目的的前提下对程序代码进行修改和使用；
 * 不允许对程序代码以任何形式任何目的的再发布。
 * ============================================================================
 */
namespace app\frontend\controller;
use \tpfcore\Core;
use think\Cookie;
use think\Db;
class ExportTcms extends FrontendBase
{
    
    public function index()
    {
        // $controller =["app\\tcms\\controller\\Comment","app\\tcms\\controller\\Help"];

        $templates =["Comment_index__demo_c1_v1","Help_index__help_c2_v1","Index_about__about_c1_v1"];

        $file_list = Core::loadModel($this->name)->getFileList($templates);

        $result = Core::loadModel($this->name)->package($file_list);

       	$this->jump($result);
    }

    
}
